﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>


//int main()
//{
//	//int a = 5;
//	////a++;//6
//	////++a;//6
//	//printf("%d\n", a);
//
//	//前置++
//	//int a = 5;
//	//int b = ++a;//先++后使用
//	//printf("a=%d b=%d\n", a, b); //a=6 b=6
//
//	//后置++
//	//int a = 5;
//	//int b = a++;//先使用后++
//	//printf("a=%d b=%d\n", a, b);//a=6 b=5
//
//	//前置--
//	//int a = 5;
//	//int b = --a;
//	//printf("a=%d b=%d\n", a, b);//a=4,b=4
//
//	//后置--
//	//int a = 5;
//	//int b = a--;
//	//printf("a=%d b=%d\n", a, b);//a=4,b=5
//
//	/*int a = 5;
//	printf("%d\n", --a);*/
//
//	//强制类型转换
//	//直接写出的字面浮点数，会被编译器直接识别为double
//	//int a = (int ) 3.14;
//	//printf("%d\n", a);//3
//
//	return 0;
//}

//scanf printf
int main()
{
	/*printf("hehe\n");
	printf("haha\n");*/

	//printf("hello\nworld\n");

	//占位符
	/*printf("Zhangsan will come tonight\n");
	printf("%s will come tonight\n","Zhangsan");*/
	//printf("%s says it is %d o'clock\n", "lisi", 15);

	/*int a = -10;
	printf("%d\n", a);
	printf("%u\n", a);*/

	/*printf("%d\n", 123);
	printf("%5d\n", 123);
	printf("%-5d\n", 123);*/

	/*printf("%f\n", 0.5);
	printf("%.2f\n", 0.5);
	printf("%6.2f\n", 0.5);*/
	//printf("%*.*f\n", 6, 2, 0.5);

	/*printf("hello world\n");
	printf("%s\n", "hello world");
	printf("%.2s\n", "hello world");*/

	/*int score = 0;
	printf("请输入成绩: ");
	scanf("%d", &score);
	printf("成绩是：%d", score);*/

	/*int i = 0;
	int j = 0;
	float x = 0.0f;
	float y = 0.0f;*/

	/*scanf("%d%d%f%f", &i, &j, &x, &y);

	printf("i=%d\n", i);
	printf("j=%d\n", j);
	printf("x=%f\n", x);
	printf("y=%f\n", y);*/

	//int x;
	//float y;
	//// ⽤⼾输⼊ " -13.45e12# 0"
	//scanf("%d", &x);
	//printf("%d\n", x);
	//scanf("%f", &y);
	//printf("%f\n", y);

	/*int a = 0;
	int b = 0;
	float f = 0.0f;
	int ret = scanf("%d %d %f", &a, &b, &f);
	printf("ret=%d\n", ret);
	printf("a=%d\n", a);
	printf("b=%d\n", b);
	printf("f=%f\n", f);*/
	
	/*char c1=0, c2=0, c3=0;
	scanf(" %c%c%c", &c1, &c2, &c3);
	printf("%c %c %c", c1, c2, c3);*/

	//char arr1[20] = "xxxxxxxxxxxxxxxxx";
	////char arr2[20] = "xxxxxxxxxxxxxxxxx";
	//scanf("%s", arr1);//这里没有写&arr,为什么呢？因为数组名arr就是地址
	//printf("%s\n", arr1);

	/*char arr[5] = { 0 };
	scanf("%4s", arr);
	printf("%s\n", arr);*/

	int year = 0;
	int month = 0;
	int day = 0;
	//scanf("%d/%d/%d", &year, &month, &day);
	scanf("%d%*c%d%*c%d", &year, &month, &day);

	printf("%d-%d-%d", year, month, day);


	return 0;
}
